package ace.module.mail.address.api.model.input.mailaddress;

import ace.module.mail.address.api.model.input.MadAppOutInfoInput;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * .
 *
 * @author Caspar
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MadMailAddressModifyInput {

  @Valid
  @NotNull
  @Schema(title = "邮寄地址应用外部主键")
  private MadAppOutInfoInput appOutInfo;

  @Valid
  @NotNull
  @Schema(title = "邮寄地址")
  private MadMailAddressModifyItemInput address;

}
